package com.wmh.baseservice.system.service;

import com.wmh.baseservice.system.entity.GoodsFlowAnalysis;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;

import java.util.List;
import java.util.Map;

/**
 * @author wmh generator
 * @since 2022-05-27
 */
public interface GoodsFlowAnalysisService extends CommonService<GoodsFlowAnalysis> {

    /**
     * 根据日期获取时间段的数据
     */
    List<GoodsFlowAnalysis> getDataByDate(Map<String, Object> map);

    /**
     * 获得所有来源
     * @param id
     * @param source
     */
    List<GoodsFlowAnalysis> getSource(Long id, String source);
}
